\tracingonline=2
\tracingcommands=2
\tracingmacros=2
\tracingrestores=2

\catcode`{=1
\catcode`}=2
\catcode`#=6

{

\edef\testmacro{zz}
\edef\testmacroa{\testmacro}
\show\testmacroa

\toks0={\testmacroa}
\edef\testmacrob{\the\toks0}
\show\testmacrob

}

\end
